
import { defineStore } from 'pinia';

export const useTabbarStore = defineStore(
    'tabbar',
    {
        state: () => {
            return { currentTab: 0 };
        },
        actions: {
            setCurrentTab(tab) {
                this.currentTab = tab;
            },
        },
    },
);
